Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 22: Adding a Background

../ch22/22fig03c.gif
Figure 22.3c

A mountain-panorama background created with the color and pixel transparency parts of a mountain image.

22fig03c.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Background {
    skyColor [
        0.0 0.2 0.7,
        0.0 0.5 1.0,
        1.0 1.0 1.0
    ]
    skyAngle [ 1.309, 1.571 ]
    groundColor [
        0.1 0.10 0.0,
        0.4 0.25 0.2,
        0.6 0.60 0.6,
    ]
    groundAngle [ 1.309, 1.571 ]
    frontUrl "mountns.png"
    backUrl  "mountns.png"
    leftUrl  "mountns.png"
    rightUrl "mountns.png"
}